package com.ruoyi.system.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "代付订单", description = "代付订单")
public class ApiOrderSelectDto extends ApiDto {
    @NotBlank(message = "商户订单号不能为空")
    @ApiModelProperty(value = "商户订单号", required = true)
    private String merchantOrderNo;

    @NotBlank(message = "类型不能为空")
    @ApiModelProperty(value = "类型", allowableValues = "receive 代收，pay代付", required = true)
    private String type;


}
